//
//  LRXBedroom.m
//  路人侠
//
//  Created by zhangxulong on 5/2/16.
//  Copyright © 2016 zhangxulong. All rights reserved.
//

#import "LRXBedroom.h"

@implementation LRXBedroom
- (instancetype)initBedRoomWithDic:(NSDictionary*)dic
{
    if (self = [super init]) {
        self.blockNum = dic.allKeys[0];
        self.bedroomNums = dic.allValues[0];
    }
    return self;
}
+ (instancetype)bedroomWithDic:(NSDictionary *)dic
{
    return [[LRXBedroom alloc]initBedRoomWithDic:dic];
}

@end
